package com.zrrd.yunchmall.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Liangyaoyun
 */
@SuppressWarnings("all")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_order")
public class OrderTmp {
    @TableId(type = IdType.AUTO)
    private Long oid;
    private Integer uid;
    private String username;
    //商品id
    private Integer pid;
    //商品名称
    private String pname;
    //商品单价
    private Double pprice;
    //购买数量
    private Integer number;
}
